/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package DAO;

import racesuitefx.entities.Starter;
import racesuitefx.entities.Tag;
import javax.persistence.EntityManager;
import javax.persistence.Persistence;

/**
 *
 * @author Wolfgang
 */
public class TagDAO extends AbstractDAO{

    public TagDAO() {
        super(Tag.class);
    }
    
    public TagDAO(Class<Tag> entityClass) {
        super(entityClass);
    }

    
    @Override
    protected EntityManager getEntityManager() {
         return Persistence.createEntityManagerFactory("ModelsPU").createEntityManager();
    }
    
}
